package pattern4;

/**
 * 追求者
 *
 * @author wdl
 */
public class PurSuit implements IGiveGift {
    SchoolGirl schoolGirl;

    public PurSuit(SchoolGirl schoolGirl) {
        this.schoolGirl = schoolGirl;
    }

    @Override
    public void giveDolls() {
        System.out.println(schoolGirl.getName() + "这是送你的洋娃娃");
    }

    @Override
    public void giveFollowers() {
        System.out.println(schoolGirl.getName() + "这是送你的花");
    }
}
